<%--== Handlers ==--%> <%--search_software Opening Initialization directive @1-A0E75F14--%><%!

// //Workaround for JRun 3.1 @1-F81417CB

//ITEM_USER Grid Handler Head @2-C310D32A
    public class search_softwareITEM_USERGridHandler implements GridListener, GridDataObjectListener {
//End ITEM_USER Grid Handler Head

//ITEM_USER BeforeShow Method Head @2-46046458
        public void beforeShow(Event e) {
//End ITEM_USER BeforeShow Method Head

//ITEM_USER BeforeShow Method Tail @2-FCB6E20C
        }
//End ITEM_USER BeforeShow Method Tail

//ITEM_USER BeforeShowRow Method Head @2-BDFD38FC
        public void beforeShowRow(Event e) {
//End ITEM_USER BeforeShowRow Method Head

//ITEM_USER BeforeShowRow Method Tail @2-FCB6E20C
        }
//End ITEM_USER BeforeShowRow Method Tail

//ITEM_USER BeforeSelect Method Head @2-E5EC9AD3
        public void beforeSelect(Event e) {
//End ITEM_USER BeforeSelect Method Head

//ITEM_USER BeforeSelect Method Tail @2-FCB6E20C
        }
//End ITEM_USER BeforeSelect Method Tail

//ITEM_USER BeforeBuildSelect Method Head @2-3041BA14
        public void beforeBuildSelect(DataObjectEvent e) {
//End ITEM_USER BeforeBuildSelect Method Head

//ITEM_USER Default Values for Select Query (SQL) @2-30FACE7B
            try {
                ((SqlParameter)e.getParameter("ITEM_NAME")).setDefaultValue("");
            } catch(java.text.ParseException ignore) {}
            try {
                ((SqlParameter)e.getParameter("ITEM_CATEGORY_NAME")).setDefaultValue("");
            } catch(java.text.ParseException ignore) {}
            try {
                ((SqlParameter)e.getParameter("USERNAME")).setDefaultValue("");
            } catch(java.text.ParseException ignore) {}
            /*try {
                ((SqlParameter)e.getParameter("CRT_DATE")).setDefaultValue("");
            } catch(java.text.ParseException ignore) {}*/
            try {
                ((SqlParameter)e.getParameter("NUM_BUYED")).setDefaultValue(0);
            } catch(java.text.ParseException ignore) {}
//End ITEM_USER Default Values for Select Query (SQL)

//ITEM_USER BeforeBuildSelect Method Tail @2-FCB6E20C
        }
//End ITEM_USER BeforeBuildSelect Method Tail

//ITEM_USER BeforeExecuteSelect Method Head @2-8391D9D6
        public void beforeExecuteSelect(DataObjectEvent e) {
//End ITEM_USER BeforeExecuteSelect Method Head

//ITEM_USER BeforeExecuteSelect Method Tail @2-FCB6E20C
        }
//End ITEM_USER BeforeExecuteSelect Method Tail

//ITEM_USER AfterExecuteSelect Method Head @2-0972E7FA
        public void afterExecuteSelect(DataObjectEvent e) {
//End ITEM_USER AfterExecuteSelect Method Head

//ITEM_USER AfterExecuteSelect Method Tail @2-FCB6E20C
        }
//End ITEM_USER AfterExecuteSelect Method Tail

//ITEM_USER Grid Handler Tail @2-FCB6E20C
    }
//End ITEM_USER Grid Handler Tail

//Comment workaround @1-A0AAE532
%> <%
//End Comment workaround

//Processing @1-0A3C8E95
    Page search_softwareModel = (Page)request.getAttribute("search_software_page");
    Page search_softwareParent = (Page)request.getAttribute("search_softwareParent");
    if (search_softwareModel == null) {
        PageController search_softwareCntr = new PageController(request, response, application, "/search_software.xml", "ISO-8859-1" );
        search_softwareModel = search_softwareCntr.getPage();
        //if (search_softwareParent != null) {
            //if (!search_softwareParent.getChild(search_softwareModel.getName()).isVisible()) return;
        //}
    ((Grid)search_softwareModel.getChild("ITEM_USER")).addGridListener(new search_softwareITEM_USERGridHandler());
        search_softwareCntr.process();
%>
<%
        if (search_softwareParent == null) {
            if (search_softwareModel.redirect()) return;
            search_softwareModel.setCookies();
        } else {
            search_softwareModel.redirect();
        }
    }
//End Processing

%>
